/* index.css */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login {
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

::v-deep .el-form-item__label {
    color: #6c757d;
    font-weight: 500;
}

::v-deep .el-input__inner {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

::v-deep .el-input__inner:focus {
    border-color: #80cbc4;
    box-shadow: 0 0 8px rgba(128, 203, 196, 0.3);
}

/* 统一按钮宽度 */
.login-btn,
.action-btn {
    width: 100%; /* 确保按钮宽度与表单元素一致 */
}

/* 确保按钮布局对齐 */
.action-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%; /* 确保按钮容器宽度一致 */
}

.login-btn {
    background: linear-gradient(135deg, #80cbc4, #4db6ac);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 182, 172, 0.4);
}

/*.action-btns {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*    margin-top: 20px;*/
/*}*/

.action-btn {
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important;
    color: #2e7d32 !important;
    border-radius: 8px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #c8e6c9 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

@media (max-width: 768px) {
    .login {
        padding: 30px 20px;
        border-radius: 16px;
    }

    ::v-deep .el-form-item__label {
        font-size: 14px;
    }

    ::v-deep .el-input__inner {
        font-size: 14px;
        height: 40px;
    }

    .action-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}